home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 70.zip
/
BS1 part 70
/
Belastingen 1991 NL.adf
/
bilpr.bel
< prev
next >
Wrap
Text File
|
1991-01-23
|
22KB
|
513 lines
'** bilpr.bel**NiVeSoft 90 **
DIM A$(36), B$(11), C$(38), I$(18), J$(21), Z$(12), E$(11), N$(22)
DIM A(29, 2), B(29, 11), Z(4), D(15), E(14)
GOSUB 78: GOTO 50
2 CLS : COLOR 0, 3: PRINT " Uitprinten "; Z$(7); "-biljet ";
COLOR 3, 0: PRINT TAB(70); "IB-1990 "
PRINT STRING$(80, 61);
LOCATE 24, 1: PRINT STRING$(80, 61);
LOCATE 25, 1: COLOR 3, 0: PRINT " CTRL-C = stop printen"; TAB(70); "NiVeSoft";
COLOR 1, 0: RETURN
8 R = R + P
IF R < 58 THEN RETURN
IF R >= 58 THEN LPRINT CHR$(12): R = P: Q = Q + 1
LPRINT TAB(4); Z$(1); TAB(36); "blad "; Q; TAB(58); "SoFi-nr "; Z$(12)
LPRINT B$(9): RETURN
10 COLOR 2, 1: LOCATE 23, 1: PRINT " Is deze vraag goed ingevuld "
COLOR 1, 0: GOTO 12
11 COLOR 2, 1: LOCATE 23, 1: PRINT " Ja of nee (j/n) ": COLOR 1, 0
12 Z$ = UCASE$(INKEY$): IF Z$ = "" THEN 12
IF Z$ = "J" OR Z$ = " " THEN Z = 1: Z$ = "JA": RETURN
IF Z$ = "N" THEN Z = 2: Z$ = "NEE": RETURN
GOTO 12
15 LOCATE 10, 1: PRINT B$(10)
LOCATE 10, 2: PRINT A$; " "; X$; Y$; " ": RETURN
31 LPRINT CHR$(27) + CHR$(71); I$; : LPRINT CHR$(27) + CHR$(72): RETURN
32 LPRINT CHR$(14); A$; " "; X$: LPRINT CHR$(14); " "; Y$; : LPRINT CHR$(20)
GOTO 15
35 LPRINT TAB(70); B$(5): RETURN
37 LPRINT W$; TAB(58); USING "f ######"; V: RETURN
38 LPRINT W$; TAB(70); USING "f ######"; V: RETURN
39 LPRINT W$; TAB(58); B$(5); TAB(70); USING "f ######"; V: RETURN
40 LPRINT TAB(47); "Naar verzamelstaat fl "; USING "######"; V: RETURN
50 ON BREAK GOSUB 1000
BREAK ON
CLS : COLOR 1, 0
LOCATE 2, 25: PRINT "* * B E L A S T I N G 1990 * *"
LOCATE 4, 25: PRINT "-- Copyright N i V e S o f t -- "
LOCATE 11, 25: PRINT "Uitprinten van een belastingbiljet"
LOCATE 13, 25: PRINT Z$(7); "-biljet voor "; Z$(1)
FOR W = 1 TO 100: NEXT: LOCATE 15, 25: PRINT "1 Aangiftebiljet printen"
LOCATE 16, 25: PRINT "2 Bijlage Buitengewone lasten printen"
LOCATE 18, 25: PRINT "0 Hoofdmenu"
LOCATE 22, 1: COLOR 2, 1: PRINT " Toets uw keuze in ": COLOR 1, 0
52 Y$ = INKEY$: IF Y$ = "" THEN 52
IF Y$ < "0" OR Y$ > "2" THEN 52
IF Y$ = "0" THEN 999
54 IF Z$(7) = "A" THEN B = 1: GOTO 55
IF Z$(7) = "E" OR Z$(7) = "T" THEN B = 2: GOTO 56
55 FOR X = 5 TO 22: N$(X) = STR$(X): N$(X) = MID$(N$(X), 2, 2): NEXT X
GOTO 58
56 N$(5) = "4": N$(6) = "5": N$(7) = "6": N$(8) = "7": N$(12) = "9"
N$(13) = "10": N$(14) = "11": N$(15) = "12": N$(16) = "13": N$(17) = "14"
N$(18) = "15": N$(20) = "16": N$(22) = "17"
58 CLS : GOSUB 2: LOCATE 12, 18: PRINT "Staat uw printer ON LINE ?"
GOSUB 11: GOSUB 2: IF Z = 2 THEN 50
LOCATE 10, 3: PRINT "Even geduld A.U.B."
GOSUB 60: GOSUB 62
IF Y$ = "1" THEN 100
IF Y$ = "2" THEN 400
60 OPEN "I", #1, "tkst.001"
FOR X = 1 TO 9: LINE INPUT #1, B$(X): NEXT
FOR X = 1 TO 36: LINE INPUT #1, A$(X): NEXT
FOR X = 1 TO 36: LINE INPUT #1, C$(X): NEXT
CLOSE #1
B$(10) = STRING$(150, " "): B$ = " ": C$ = " ": D$ = " "
IF B = 2 THEN C$(30) = C$(34): C$(31) = C$(35): C$(32) = C$(36)
RETURN
62 OPEN "I", #1, "data.001"
FOR X = 1 TO 29: INPUT #1, A(X, 1), A(X, 2): NEXT
FOR X = 1 TO 21: LINE INPUT #1, J$(X): NEXT
FOR X = 1 TO 18: LINE INPUT #1, I$(X): NEXT
FOR X = 1 TO 29
FOR Y = 1 TO 11: INPUT #1, B(X, Y): NEXT
NEXT
INPUT #1, D
CLOSE #1: RETURN
63 OPEN "I", #1, "data.002"
FOR X = 1 TO 15: INPUT #1, D(X): NEXT
FOR X = 1 TO 14: INPUT #1, E(X): NEXT
FOR X = 1 TO 11: LINE INPUT #1, E$(X): NEXT
CLOSE #1: RETURN
64 OPEN "I", #1, "tkst.002"
FOR X = 1 TO 33: LINE INPUT #1, C$(X): NEXT
CLOSE #1: RETURN
66 OPEN "I", #1, "tkst.003"
FOR X = 1 TO 35: LINE INPUT #1, C$(X): NEXT
CLOSE #1: RETURN
68 OPEN "I", #1, "tkst.004"
FOR X = 1 TO 35: LINE INPUT #1, C$(X): NEXT
CLOSE #1: RETURN
70 OPEN "I", #1, "tkst.005"
FOR X = 1 TO 38: LINE INPUT #1, C$(X): NEXT
CLOSE #1: RETURN
72 OPEN "I", #1, "tkst.006"
FOR X = 1 TO 25: LINE INPUT #1, C$(X): NEXT
CLOSE #1: RETURN
74 OPEN "I", #1, "tkst.007"
FOR X = 1 TO 38: LINE INPUT #1, C$(X): NEXT
CLOSE #1: RETURN
76 OPEN "I", #1, "tkst.008"
FOR X = 1 TO 34: LINE INPUT #1, C$(X): NEXT
CLOSE #1: RETURN
78 OPEN "I", #1, "naam.dat"
FOR X = 1 TO 12: LINE INPUT #1, Z$(X): NEXT
FOR X = 1 TO 4: INPUT #1, Z(X): NEXT
CLOSE #1: RETURN
100 LPRINT " Aangiftebiljet-"; Z$(7); TAB(60); Z$(5)
LPRINT " Inkomstenbelasting 1990"
LPRINT " ten name van: "; Z$(1)
LPRINT TAB(20); Z$(2); TAB(50); "SoFi-nummer: "; Z$(12)
LPRINT TAB(20); Z$(3); " "; Z$(4)
LPRINT : LPRINT B$(9): R = 0: Q = 1
101 GOSUB 76: LPRINT
A$ = "": X$ = C$(1): Y$ = "": P = 50: GOSUB 8: GOSUB 32
LPRINT C$(2): LPRINT : LPRINT "Inkomsten": LPRINT
W$ = N$(6) + C$(3) + N$(5): V = A(6, 1): GOSUB 37: IF B = 2 THEN 102
W$ = C$(4): V = A(9, 1): GOSUB 37: N$(1) = "h": N$(2) = "c": N$(3) = "27e"
102 IF B = 2 THEN C$(5) = C$(29): N$(1) = "c ": N$(2) = " ": N$(3) = " "
W$ = C$(5): V = A(10, 1): GOSUB 37: IF B = 2 THEN 103
W$ = C$(6): V = A(11, 1): GOSUB 37
W$ = C$(7): V = A(10, 2): GOSUB 37
103 W$ = N$(12) + N$(1) + C$(8): V = A(12, 1): GOSUB 37
W$ = N$(13) + C$(9): V = A(13, 1): GOSUB 37
W$ = N$(16) + N$(2) + C$(10): V = A(16, 1): GOSUB 37
LPRINT TAB(58); B$(5)
W$ = "": V = B(29, 1): GOSUB 37
W$ = N$(8) + C$(11): V = A(8, 1): GOSUB 37
LPRINT TAB(58); B$(5)
LPRINT TAB(35); : W$ = C$(25): V = A(29, 1): GOSUB 38
IF B = 1 THEN W$ = C$(34): V = B(29, 5): LPRINT C$(33): GOSUB 38: GOTO 104
W$ = C$(31): V = A(14, 2): GOSUB 37
W$ = C$(32): V = A(20, 2): GOSUB 37
LPRINT TAB(58); B$(5); : W$ = "": V = B(29, 5): GOSUB 38
104 W$ = "": GOSUB 35: V = A(28, 1): GOSUB 38: LPRINT
LPRINT C$(26): LPRINT
IF B = 1 THEN W$ = C$(12): V = A(11, 2): GOSUB 37
W$ = N$(13) + C$(13): V = A(13, 2): GOSUB 37
W$ = N$(14) + C$(14): V = A(14, 1): GOSUB 37
W$ = N$(15) + C$(15): V = A(15, 1): GOSUB 37
W$ = N$(17) + C$(16): V = A(17, 1): GOSUB 37
W$ = N$(18) + C$(17): V = A(18, 1): GOSUB 37
IF B = 1 THEN W$ = C$(18): V = A(19, 1): GOSUB 37
W$ = N$(20) + C$(19): V = A(20, 1): GOSUB 37: IF B = 2 THEN 106
W$ = C$(20): V = A(21, 1): GOSUB 37
W$ = C$(21): V = A(23, 1): GOSUB 37
W$ = C$(22): V = A(24, 1): GOSUB 37
106 W$ = "": V = B(29, 2): GOSUB 39: GOSUB 35: IF B = 2 THEN 108
V = B(29, 3): GOSUB 38
W$ = C$(23): V = A(25, 1): GOSUB 38: GOSUB 35
108 LPRINT TAB(50); : W$ = C$(27): V = B(29, 4): GOSUB 38
W$ = N$(3) + C$(24): V = A(27, 1): GOSUB 38: GOSUB 35
LPRINT TAB(40); : W$ = C$(28): V = A(29, 2): GOSUB 38
110 GOSUB 60
Y$ = "": IF A(1, 1) = 0 THEN 140
A$ = "1": X$ = A$(1): P = 20: GOSUB 8: GOSUB 32
LPRINT C$(1); C$(2); C$(3)
A = D: FOR X = 1 TO A
LPRINT B$; I$(14 + X); TAB(46); I$(X); TAB(54); USING " f ######"; B(1, X); B(1, X + 4)
NEXT
LPRINT TAB(58); B$(5); C$; B$(5)
LPRINT TAB(54); USING " f ######"; A(1, 2); B(1, 9)
LPRINT C$(6); D$; J$(1): V = B(1, 10)
LPRINT C$(7): W$ = C$ + B$(1): GOSUB 38
LPRINT C$(9): V = B(1, 11): W$ = C$(10) + B$(1): GOSUB 38
GOSUB 35: V = A(1, 1): W$ = C$(11): GOSUB 38
LPRINT C$(12); B$; I$(5): LPRINT B$(9)
120 A$ = "2": X$ = A$(2): P = 14: GOSUB 8: GOSUB 32
LPRINT C$(14): LPRINT B$; I$(6); TAB(41); I$(7)
LPRINT B$; I$(8); TAB(41); I$(9)
LPRINT C$(15): LPRINT C$(16): LPRINT B$; I$(10); TAB(41); I$(11)
LPRINT B$; I$(12); TAB(41); I$(13)
V = B(2, 2): W$ = C$(17): GOSUB 38
V = B(2, 3): W$ = C$(18): GOSUB 38: GOSUB 35
V = A(2, 1): W$ = C$(19): GOSUB 38: LPRINT B$(9)
130 A$ = "3": X$ = A$(3): P = 5: GOSUB 8: GOSUB 32
IF B(3, 1) = 1 THEN V = A(3, 1): W$ = C$(21) + C$(22): GOSUB 38: V = 0: GOTO 132
IF B(3, 1) = 2 THEN V = A(3, 1): W$ = C$(21) + C$(23): GOSUB 38: V = 0: GOTO 132
V = 0: W$ = C$(21): GOSUB 38
IF B(3, 1) = 3 THEN V = A(3, 1)
132 W$ = C$(24) + B$(1): GOSUB 38: LPRINT B$(9)
140 IF A(4, 1) = 0 THEN 150
A$ = "4": X$ = A$(4): Y$ = A$(30): P = 12: GOSUB 8: GOSUB 32: Y$ = ""
V = B(4, 1): W$ = C$(26): GOSUB 38
LPRINT C$(27): V = B(4, 2): W$ = C$(28): GOSUB 38
IF B = 1 THEN V = B(4, 3): W$ = C$(29): GOSUB 38
GOSUB 35: V = B(4, 4): W$ = C$(30): GOSUB 38
V = B(4, 5): W$ = C$(31): GOSUB 38: GOSUB 35
V = A(4, 1): W$ = C$(32): GOSUB 38: LPRINT B$(9)
150 IF B = 2 THEN 160
IF A(5, 1) = 0 THEN 160
A$ = "5": X$ = A$(5): P = 5: GOSUB 8: GOSUB 32
V = A(5, 1): W$ = B$ + A$(5): GOSUB 38
LPRINT C$(33): LPRINT B$(9)
160 A$ = N$(6): X$ = A$(6) + N$(5): P = 13: GOSUB 8: GOSUB 32
V = A(1, 1): W$ = " 1d " + A$(1): GOSUB 38
V = A(2, 1): W$ = " AF:2e " + A$(2): GOSUB 37
V = A(3, 1): W$ = " AF:3 " + A$(3): GOSUB 37
V = B(6, 1): W$ = "": GOSUB 39: GOSUB 35: V = B(6, 2): GOSUB 38
V = A(4, 1): W$ = " 4f " + A$(4): GOSUB 38
IF B = 1 THEN V = A(5, 1): W$ = " 5 " + A$(5): GOSUB 38
GOSUB 35: V = A(6, 1): LPRINT A$; " "; X$; : GOSUB 40: LPRINT B$(9)
170 GOSUB 64
A$ = N$(7): X$ = A$(7): P = 33: IF B(7, 1) = 2 THEN P = 6
GOSUB 8: GOSUB 32: : N$ = "Bij " + A$
LPRINT A$; C$(1): LPRINT C$(2); TAB(50); J$(2)
IF B(7, 1) = 2 THEN LPRINT B$(9): GOTO 180
LPRINT A$; "b Naam"; A$(32); TAB(50); "geboortedatum"; A$(32)
LPRINT B$; Z$(8); TAB(50); Z$(9)
LPRINT A$; C$(3); TAB(50); J$(3)
LPRINT A$; C$(4); TAB(50); J$(4)
IF J$(5) <> "" THEN LPRINT TAB(50); "op "; J$(5)
LPRINT A$; "e"; C$(5):LPRINT C$(6); A$; "f en "; A$; "g"; C$(7): LPRINT
A = B(7, 2)
IF A = 1 THEN LPRINT C$(8): LPRINT C$(9)
IF A = 2 THEN LPRINT C$(8): LPRINT C$(10)
IF A = 3 THEN LPRINT C$(11): LPRINT C$(9)
IF A = 4 THEN LPRINT C$(11): LPRINT C$(10)
IF A = 1 THEN LPRINT N$; C$(15); C$(16); N$(6): LPRINT N$; C$(17): LPRINT C$(18)
IF A = 2 THEN LPRINT N$; C$(15); C$(16); N$(6): LPRINT N$; C$(17): LPRINT C$(19)
IF A = 3 THEN LPRINT N$; C$(15): LPRINT C$(20): LPRINT N$; C$(17): LPRINT C$(18)
IF A = 4 THEN LPRINT N$; C$(15): LPRINT C$(20): LPRINT N$; C$(17): LPRINT C$(21)
LPRINT A$; C$(30): V = B(7, 6): W$ = C$(31): GOSUB 37
LPRINT A$; C$(32): V = B(7, 7): W$ = C$(31): GOSUB 37
LPRINT A$; C$(33):LPRINT C$(31); TAB(50); J$(6)
N$(1) = C$(26) + " 8 t/m 19": N$(2) = C$(26) + " 20 t/m 26": N$(3) = " 8 t/m 26"
IF B = 2 THEN N$(1) = C$(26) + " 7 t/m 15": N$(2) = C$(26) + " 16 t/m 18": N$(3) = " 7 t/m 18"
A = B(7, 4)
LPRINT A$; "i"; C$(5): LPRINT C$(6); N$(3); C$(7): LPRINT
IF A = 1 THEN LPRINT C$(8), , C$(12)
IF A = 1 THEN LPRINT "Bij "; N$(1); C$(22): LPRINT C$(23): LPRINT N$(2); C$(24)
IF A = 2 THEN LPRINT C$(8): LPRINT C$(13): LPRINT "U slaat "; N$(1); C$(25); N$(20); "e.v."
IF A = 3 THEN LPRINT C$(11): LPRINT C$(12)
IF A = 3 THEN LPRINT "Bij "; N$(1); C$(22); " in"; C$(28): LPRINT C$(27): LPRINT N$(2); C$(24); C$(28)
IF A = 4 THEN LPRINT C$(8): LPRINT C$(13)
IF A = 4 THEN LPRINT "Bij "; N$(1); C$(22): LPRINT C$(29): LPRINT N$(2); C$(24); C$(28)
LPRINT B$(9)
IF A = 2 THEN 300
180 GOSUB 66
181 IF A(8, 1) = 0 THEN 190
A$ = N$(8): X$ = A$(8): P = 19: GOSUB 8: GOSUB 32
LPRINT A$; C$(1); TAB(50); J$(7)
V = B(8, 1): W$ = A$ + C$(2): GOSUB 37
V = B(8, 2): W$ = A$ + C$(3): GOSUB 38
V = B(8, 3): W$ = A$ + C$(4): GOSUB 38: GOSUB 35
V = B(8, 4): W$ = A$ + C$(5): GOSUB 38
LPRINT A$; C$(6): V = B(8, 5): W$ = C$(7): GOSUB 37
LPRINT A$; C$(8): V = B(8, 6): GOSUB 37
V = B(8, 7): W$ = A$ + C$(9): GOSUB 37
V = B(8, 8): W$ = A$ + C$(10): GOSUB 39: GOSUB 35
LPRINT A$; C$(11); : V = A(8, 1): GOSUB 40
LPRINT A$; C$(12): V = B(8, 9): W$ = C$(7): GOSUB 38
LPRINT B$(9)
190 IF B = 2 THEN 205
IF A(9, 1) = 0 THEN 200
A$ = "9": X$ = A$(9): P = 7: GOSUB 8: GOSUB 32
LPRINT C$(14): LPRINT C$(15); TAB(50); J$(7)
LPRINT C$(16); : V = A(9, 1): GOSUB 40: LPRINT B$(9)
200 IF A(10, 1) = 0 THEN 210
A$ = "10": X$ = A$(10): Y$ = A$(31): P = 12: GOSUB 8: GOSUB 32: Y$ = ""
LPRINT C$(17): V = B(10, 1): W$ = C$(18): GOSUB 38
LPRINT "10b"; C$(19): V = B(10, 2): GOSUB 38: GOSUB 35
V = B(10, 3): W$ = C$(20): GOSUB 38
V = B(10, 4): W$ = C$(21): GOSUB 38: GOSUB 35
LPRINT C$(22); : V = A(10, 1): GOSUB 40: LPRINT B$(9)
205 IF B = 1 THEN 210
IF A(10, 1) = 0 THEN 210
A$ = "8": X$ = C$(19): P = 9: GOSUB 8: GOSUB 32
LPRINT "8a"; C$(19); ",": V = B(10, 1): W$ = C$(18): GOSUB 38
V = B(10, 2): W$ = C$(13): GOSUB 38: GOSUB 35
LPRINT C$(24); : V = A(10, 1): GOSUB 40: LPRINT B$(9)
210 IF B = 2 THEN 220
IF A(11, 1) + A(11, 2) + A(10, 2) = 0 THEN 220
A$ = "11": X$ = A$(11): Y$ = A$(32) + A$(33): P = 18: GOSUB 8: GOSUB 32: Y$ = ""
V = B(11, 1): W$ = C$(23): GOSUB 38
LPRINT C$(25): V = B(11, 2): W$ = C$(26): GOSUB 38
LPRINT C$(27): V = B(11, 3): W$ = C$(28): GOSUB 38
V = B(11, 4): W$ = C$(29): GOSUB 38: GOSUB 35
V = B(11, 5): W$ = C$(30): GOSUB 38
V = B(11, 6): W$ = C$(31): GOSUB 38: GOSUB 35
LPRINT C$(32); : V = A(11, 1): GOSUB 40
LPRINT C$(33); : V = A(11, 2): GOSUB 40
LPRINT C$(34): LPRINT C$(35): V = A(10, 2): GOSUB 40: LPRINT B$(9)
220 GOSUB 68
221 IF A(12, 1) = 0 THEN 230
A$ = N$(12): X$ = A$(12): Y$ = A$(32): P = 26: GOSUB 8: GOSUB 32: Y$ = ""
LPRINT A$; C$(1): V = B(12, 1): W$ = C$(2): GOSUB 38
V = B(12, 2): W$ = C$(3): GOSUB 38
V = B(12, 3): W$ = C$(4): GOSUB 38: GOSUB 35
V = B(12, 4): W$ = "": GOSUB 38
IF B = 2 THEN 224
V = B(12, 5): W$ = C$(5): GOSUB 37
V = B(12, 6): W$ = C$(6): GOSUB 37
V = B(12, 7): W$ = C$(7): GOSUB 39
LPRINT C$(8): V = B(12, 8): W$ = C$(9): GOSUB 38: GOSUB 35
V = B(12, 9): W$ = C$(10): GOSUB 38
G$ = "g": I$ = "i": J$ = "j": K$ = "k"
224 IF B = 2 THEN G$ = "b": I$ = "d": J$ = "e": K$ = "f": C$(12) = C$(22)
V = B(12, 10): W$ = A$ + G$ + C$(11): GOSUB 38: GOSUB 35
LPRINT A$; C$(12); : V = A(12, 1): GOSUB 40: LPRINT
LPRINT A$; I$; C$(13): LPRINT C$(14); TAB(58); : V = B(12, 11): W$ = J$(9)
GOSUB 38: LPRINT A$; J$; C$(15)
V = B(11, 10): W$ = C$(16) + A$ + "a": GOSUB 38
LPRINT A$; K$; C$(17); A$; "a moest": LPRINT C$(18); TAB(58);
V = B(11, 11): W$ = J$(10)
GOSUB 38: LPRINT B$(9)
230 IF A(13, 1) = 0 THEN 240
A$ = N$(13): X$ = A$(13): P = 10: GOSUB 8: GOSUB 32
V = B(13, 1): W$ = A$ + C$(20): GOSUB 38
V = B(13, 2): W$ = A$ + C$(21): GOSUB 38: GOSUB 35
LPRINT A$; C$(22); : V = A(13, 1): GOSUB 40
LPRINT A$; C$(23); " "; I$(14); : W$ = C$(28): V = B(13, 4): GOSUB 38
LPRINT A$; C$(24): LPRINT C$(25); : V = A(13, 2): GOSUB 40: LPRINT B$(9)
240 IF A(14, 1) + A(14, 2) = 0 THEN 250
A$ = N$(14): X$ = A$(14): Y$ = A$(32) + A$(33): P = 8: GOSUB 8: GOSUB 32: Y$ = ""
LPRINT A$; C$(26): V = A(14, 1): GOSUB 40
LPRINT A$; C$(19): V = A(14, 2): GOSUB 40
V = B(14, 1): W$ = A$ + C$(27): GOSUB 38: LPRINT B$(9)
250 IF B(15, 1) = 0 THEN 260
A$ = N$(15): X$ = A$(15): Y$ = A$(32): P = 13: GOSUB 8: GOSUB 32: Y$ = ""
LPRINT A$; C$(29); N$(12); H$; " over,": LPRINT C$(35); N$(14); "b,"
V = B(15, 1): W$ = C$(30) + N$(13): GOSUB 38
V = B(15, 2): W$ = A$ + C$(31): GOSUB 38: GOSUB 35
V = B(15, 3): W$ = A$ + C$(32): GOSUB 38
V = B(15, 4): W$ = A$ + C$(33): GOSUB 38: GOSUB 35
LPRINT A$; C$(34): LPRINT C$(25); : V = A(15, 1): GOSUB 40: LPRINT B$(9)
260 GOSUB 70
261 IF A(16, 1) = 0 THEN 270
A$ = N$(16): X$ = A$(16): P = 9: GOSUB 8: GOSUB 32
IF B = 2 THEN 264
LPRINT "16a"; C$(1): LPRINT C$(2): V = B(16, 1): W$ = C$(3): GOSUB 38
V = B(16, 2): W$ = "16b" + C$(4) + B$(1): GOSUB 38
GOSUB 35: LPRINT C$(5); : GOTO 266
264 LPRINT "13 Ontvangen alimentatie en dergelijke, en"; C$(4)
LPRINT C$; B$(1)
266 V = A(16, 1): GOSUB 40: LPRINT B$(9)
270 IF A(17, 1) = 0 THEN 280
A$ = N$(17): X$ = A$(17): P = 9: GOSUB 8: GOSUB 32
W$ = A$ + C$(7): V = B(17, 1): GOSUB 38
W$ = A$ + C$(8): V = B(17, 2): GOSUB 37
W$ = A$ + C$(9): V = B(17, 3): GOSUB 37
W$ = A$ + C$(10): V = B(17, 4): GOSUB 39: GOSUB 35
LPRINT A$; C$(11): V = A(17, 1): GOSUB 40: LPRINT B$(9)
280 IF A(18, 1) = 0 THEN 290
A$ = N$(18): X$ = A$(18): P = 6: GOSUB 8: GOSUB 32
LPRINT A$; C$(17)
LPRINT C$; C$(14); " G mee": V = A(18, 1): GOSUB 40: LPRINT B$(9)
290 GOSUB 72: IF B = 2 THEN 301
292 IF A(19, 1) + A(19, 2) = 0 THEN 301
A$ = "19": X$ = A$(19): Y$ = A$(34) + " enz.": P = 17: GOSUB 8: GOSUB 32: Y$ = ""
LPRINT C$(1): V = B(19, 1): W$ = C$(2): GOSUB 38
V = B(19, 2): W$ = C$(3): GOSUB 38
LPRINT C$(4): V = B(19, 3): W$ = C$(5): GOSUB 38
LPRINT C$(6): LPRINT C$(7): V = B(19, 4): W$ = C$(5): GOSUB 38
V = B(19, 5): W$ = C$(8): GOSUB 38: GOSUB 35
LPRINT C$(9); : V = A(19, 1): GOSUB 40
LPRINT C$(17): LPRINT C$(18): V = A(19, 2): GOSUB 40: LPRINT B$(9)
GOTO 301
300 GOSUB 72
301 IF A(20, 1) + A(20, 2) + B(20, 1) = 0 THEN 310
A$ = N$(20): X$ = A$(36): Y$ = A$(20): P = 11: GOSUB 8: GOSUB 32: Y$ = ""
LPRINT A$; "a "; C$(10): LPRINT C$(11): V = A(20, 1): GOSUB 40
LPRINT A$; "b "; C$(10): LPRINT C$(12): V = A(20, 2): GOSUB 40
IF B = 1 THEN 302
LPRINT C$(21): LPRINT C$(22); TAB(52); J$(21);
IF J$(21) = "JA" THEN LPRINT ; C$(25)
302 LPRINT B$(9)
310 IF B = 2 THEN 320
IF A(21, 1) + A(21, 2) = 0 THEN 320
A$ = "21": X$ = A$(36): Y$ = A$(21): P = 9: GOSUB 8: GOSUB 32: Y$ = ""
LPRINT C$(13): LPRINT C$(14): V = A(21, 1): GOSUB 40
LPRINT C$(15): V = A(21, 2): GOSUB 40: LPRINT B$(9)
320 A$ = N$(22): X$ = A$(22): P = 5: GOSUB 8: GOSUB 32
LPRINT A$; C$(16); TAB(60); Z$(10)
IF Z(4) = 3 THEN LPRINT C$(19)
IF Z(4) = 4 OR Z(4) = 5 THEN LPRINT C$(20)
LPRINT B$(9)
325 IF B = 1 THEN 330
A$ = "18": X$ = C$(24): P = 6: GOSUB 8: GOSUB 32: W$ = ""
LPRINT C$(23): LPRINT C$(24); TAB(52); J$(19);
IF B(27, 1) <> 0 THEN V = B(27, 1): GOSUB 38: LPRINT TAB(52); C$(25)
LPRINT B$(9): GOTO 390
330 GOSUB 74
331 IF A(23, 1) = 0 THEN 340
A$ = "23": X$ = A$(23): P = 4: GOSUB 8: GOSUB 32
LPRINT C$(1); : V = A(23, 1): GOSUB 40: LPRINT B$(9)
340 IF A(24, 2) = 0 THEN 350
A$ = "24": X$ = A$(24): P = 10: GOSUB 8: GOSUB 32
LPRINT C$(2): LPRINT C$(3); TAB(55); J$(11)
LPRINT C$(4): LPRINT C$(5); TAB(55); J$(12)
LPRINT C$(6); : V = A(24, 1): GOSUB 40: LPRINT B$(9)
350 IF A(25, 2) = 0 THEN 360
A$ = "25": X$ = A$(25): Y$ = A$(35): P = 16: GOSUB 8: GOSUB 32: Y$ = ""
V = B(25, 1): W$ = C$(8): GOSUB 38
LPRINT C$(9): V = B(25, 2): W$ = C$(10): GOSUB 38
LPRINT C$(11); TAB(60); J$(13)
LPRINT C$(12): V = B(25, 3): W$ = C$(13): GOSUB 38
LPRINT C$(14); TAB(60); J$(14)
LPRINT C$(15): LPRINT C$(16); TAB(50); J$(15): LPRINT B$(9)
360 IF A(26, 1) = 0 THEN 370
A$ = "26": X$ = A$(26): P = 9: GOSUB 8: GOSUB 32
LPRINT C$(17): LPRINT C$(18); TAB(50); J$(16)
LPRINT C$(19): LPRINT C$(20); TAB(50); J$(17): LPRINT B$(9)
370 IF A(27, 2) = 0 THEN 380
A$ = "27": X$ = A$(27): P = 15: GOSUB 8: GOSUB 32
LPRINT C$(22): LPRINT C$(23); TAB(52); J$(18): W$ = ""
LPRINT C$(24): LPRINT C$(25); TAB(52); J$(19);
V = B(27, 1): IF V <> 0 THEN GOSUB 38 ELSE LPRINT
IF V <> 0 THEN LPRINT TAB(52); C$(21)
LPRINT C$(26): LPRINT C$(27); TAB(52); J$(20);
V = B(27, 2): IF V <> 0 THEN GOSUB 38 ELSE LPRINT
IF V <> 0 THEN LPRINT TAB(52); C$(21)
LPRINT C$(28): LPRINT C$(29); TAB(52); J$(21)
IF J$(21) = "JA" THEN LPRINT TAB(52); C$(21)
LPRINT C$(30); : V = A(27, 1): GOSUB 40: LPRINT B$(9)
380 IF A(28, 2) + B(28, 9) = 0 THEN 390
A$ = "28": X$ = A$(28): P = 11: GOSUB 8: GOSUB 32
LPRINT TAB(43); "Nederlandse":LPRINT TAB(43); C$(31); C$(32)
LPRINT C$(36); TAB(45); USING " f ######"; B(28, 1); B(28, 2); B(28, 3)
LPRINT C$(37); TAB(45); USING " f ######"; B(28, 4); B(28, 5)
LPRINT C$(38); TAB(45); USING " f ######"; B(28, 6); B(28, 7)
LPRINT TAB(48); B$(5); TAB(58); B$(5)
LPRINT TAB(30); "Totaal"; TAB(45); USING " f ######"; B(28, 8); B(28, 9)
LPRINT B$(9)
390 LPRINT CHR$(12)
GOTO 50
400 LPRINT " Bijlage behorende bij "; TAB(60); Z$(5)
LPRINT " Aangiftebiljet-"; Z$(7)
LPRINT " ten name van: "; Z$(1); TAB(50); "SoFi-nummer: "; Z$(12)
LPRINT TAB(19); Z$(2): LPRINT TAB(19); Z$(3); " "; Z$(4)
LPRINT " BIJLAGE BUITENGEWONE LASTEN"; TAB(60);
I$ = "Model G": GOSUB 31: R = 8: Q = 1
GOSUB 70: X$ = " Bijlage buitengewone lasten": Y$ = "": GOSUB 15: N$ = N$(18)
LPRINT B$(9): GOSUB 63
LPRINT N$; C$(12): LPRINT C$(13); TAB(50); E$(7): LPRINT B$(8)
LPRINT N$; C$(15): LPRINT C$(16); TAB(50); E$(8): LPRINT B$(8)
I$ = N$ + C$(18): GOSUB 31: W$ = C$(19): V = E(1): GOSUB 38
W$ = C$(20): V = E(2): GOSUB 38: GOSUB 35
W$ = C$(21): V = E(3): GOSUB 38: LPRINT B$(8)
410 IF E(6) = 0 THEN 420
I$ = N$ + C$(22): GOSUB 31: I$ = C$(23): GOSUB 31
W$ = N$ + C$(24): V = E(5): GOSUB 38
LPRINT C$; E$(9): LPRINT C$;" " E$(10)
W$ = N$ + C$(25) + B$(1): V = E(6): GOSUB 38
W$ = " AF: drempel": V = E(5): GOSUB 38: GOSUB 35
V = E(7): W$ = C$(27): GOSUB 38: LPRINT B$(8)
420 IF E(8) = 0 THEN 430
I$ = N$ + C$(28): GOSUB 31: I$ = C$(29): GOSUB 31
LPRINT C$(30): LPRINT E$(11)
LPRINT C$(31): LPRINT C$(32): LPRINT C$(33): A = E(9)
FOR X = 1 TO A
LPRINT "|"; E$(X); TAB(12); "|"; E$(X + 3); TAB(24);
LPRINT USING "| f ###### "; D(X + 3); D(X + 6); D(X + 9); D(X + 12); D(X)
NEXT
GOSUB 35: W$ = C$(27): V = E(8): GOSUB 38: LPRINT B$(8)
430 IF E(10) = 0 THEN 440
I$ = N$ + C$(34): GOSUB 31: I$ = C$(35): GOSUB 31
W$ = C$(36): V = E(11): GOSUB 38
W$ = C$(37): V = E(4): GOSUB 38: GOSUB 35
W$ = C$(27): V = E(10): GOSUB 38: LPRINT B$(8)
440 IF E(12) = 0 THEN 450
I$ = N$ + C$(38): GOSUB 31
W$ = C$(36): V = E(13): GOSUB 38
W$ = C$(37): V = E(4): GOSUB 38: GOSUB 35
W$ = C$(27): V = E(12): GOSUB 38: LPRINT B$(8)
450 W$ = "Totaal van de aftrek vraag " + N$: V = E(14): GOSUB 38
LPRINT : LPRINT TAB(60); Z$(1): LPRINT CHR$(12): GOTO 50
999 CLS : CLEAR : LOCATE 12, 20: PRINT "Terug naar HOOFDMENU": RUN "menu.bel"
1000 RUN